﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<VCC.CMS.ViewModels.TagboxViewModel>" %>
<%@ Import Namespace="VCC.Lib.Helpers" %>
<%@ Import Namespace="VCC.Lib.Common" %>
<div class="container-common">
            <div class="box-header" id="ctl41_HeaderContainer">
                <div align="center" class="name_tit">
                    <h3 style="color: White;">Từ khóa</h3>
                </div>
            </div>
            <div class="bor_box" id="ctl41_BodyContainer">
                <div class="list">
                   <%if (Model.Tags.Count() > 0)
                     { %>                         
                        <%
                            int rnum = 0;
                         foreach (var item in Model.Tags)
                           {
                               rnum = Utils.Random2Number(0, 4);
                             %>
                                <a class="font_<%=rnum.ToString()%>" href="/tin-rao-chuyen-de/<%=TextHelper.ToUrlFriendly(item.Name)%>-<%=item.ID%>"><%=item.Name%>, </a>
                   <%
                         }
                     }%>
        </div>
    </div>
    <div id="ctl41_FooterContainer">
    </div>
</div>
